<@master template="master/master-loan"  title="经销商合作方">
			<div class="detaiTab detaiTab1">
				<form  action="/jxsPartner/index" class="clearfix" data-action-html="#action_load_body" method="get" id="partnerQueryForm" >
				 <table border="0" cellpadding="0" cellspacing="0" width="100%">
					 <tr>
						<td class="bg" align="right" width="15%">所属品牌:</td>
						 <td>
							<input  class="tabInp"  type="text" id="brandName" name="brandName" value="${partner.brandName}"/>
						</td>
						<td class="bg" align="right" width="15%">一批商渠道名称:</td>
						 <td>
							<input  class="tabInp"  type="text" id="partnerName" name="partnerName" value="${partner.partnerName}"/>
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">主办省份:</td>
						 <td>
							<select name="hostProvince" id="hostProvince">
                        		<option  value="">请选择
                        		<#list ActOrgEntitys as ActOrgEntity>
                        			<option value="${ActOrgEntity.orgId}" <#if ActOrgEntity.orgId == partner.hostProvince>selected="selected" </#if>>${ActOrgEntity.orgName}
                        		</#list>
                        	</select>							
						</td>
						<td class="bg" align="right" width="15%">状态:</td>
						 <td >
							<@select type="select" dataSouceType="parWFStutus" id="Status" name="Status" value="${partner.Status}" />
						</td>
					</tr>
					<tr>
						<td class="bg" align="right" width="15%">创建时间:</td>
						 <td>
							<@date id="createTime" name="createTime" value="${partner.createTime}"/>&nbsp;&nbsp;-
							<@date id="createEndTime" name="createEndTime" value="${partner.createEndTime}"/>
						</td>
						<td class="bg" align="right" width="15%">经办人:</td>
						 <td>
						 	<@autocomplete url="/loanrest/referrer?name=" hideIdName="operator"/>
							<!--<input  class="tabInp"  type="text" id="operator" name="operator" value="${partner.operator}"/>-->
						</td>
					</tr>
					
					<tr>
					  <td class="bg"></td>
					  <td align="left" colspan="3">
					  	<@permission permissionName="queryPartner">
					  		<input type="submit" value="搜索" class="btn_auto_30 btn_blue" />
					  	</@permission>
						  <@permission permissionName="addPartner">
							  <a id="addPartnerBtn" href="/jxsPartner/choosePartner" target="_blank" class="btn_auto_30 btn_blue">新增</a>
						  </@permission>
					  </td>
					</tr>
					</table>
					<input name="pageIndex" type="hidden" value="0" />
				</form>
			</div>
			<div class="mt20"><@pagination paginationInfo="paginationInfo"/></div>
</@master>
<@js>
	$('table td a').each(function(i,item){
		var _aDom=$(item)[0];
		_aDom.href=_aDom.href+"#detailBtnDiv";
	})
	
	$("#exportBtn").click(function(){
		var url ="/partner/export/rest/partnerExport?1=1";
		if($('#partnerName').val())
		url+= "&partnerName="+$('#partnerName').val();
		if($('#brandName').val())
		url+= "&brandName="+$('#brandName').val();
		if($('#hostProvince').val())
		url+= "&hostProvince="+$('#hostProvince').val();
		if($('#createTime').val())
		url+= "&createTime="+$('#createTime').val();
		if($('#createEndTime').val())
		url+= "&createEndTime="+$('#createEndTime').val();
		if($('#operator').val())
		url+= "&operator="+$('#operator').val();
		if($('#Status').val())
		url+= "&Status="+$('#Status').val();
		$(this).attr('href',url);
	});
</@js>
<@jsRender/>